/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package delta.productcatalog.controller;

import delta.productcatalog.model.Product;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Kate
 */
@Remote
public interface ProductManagerRemote {

    public Product find(int id);

    public List<Product> findAll();

    public List<Product> findRange(int firstResult, int maxResults);
//    public Product findById(int id_product);
//
//    public List<Product> findAll();
//
//    public List<Product> findByCategory(int id_category);
//
//    public List<Product> findByName(String name);
//
//    public List<Product> sortByPrice(boolean asc);
//
//    public List<Product> sortByName(boolean asc);
//
//    public List<Product> findRange(int firstResult, int maxResults);
//
//    public void deleteProduct(int id_product) throws ProductNotFoundException;
//
//    public Product createProduct(Product product);
}
